import { S } from '../../s';
import { IPSChartCalendar } from './ipschart-calendar';
import { IPSChartCoordinateSystemCalendar } from './ipschart-coordinate-system-calendar';
import { PSDEChartCoordinateSystemImplBase } from './psdechart-coordinate-system-impl-base';

export class PSDEChartCoordinateSystemCalendarImpl
  extends PSDEChartCoordinateSystemImplBase
  implements IPSChartCoordinateSystemCalendar
{
  protected pschartcalendar: IPSChartCalendar;
  getPSChartCalendar(): IPSChartCalendar | null {
    return (
      this.pschartcalendar ||
      (this.pschartcalendar = this.fillObjectModel(
        S._e0,
        this.M.getPSChartCalendar,
        S._2f9,
      ) as IPSChartCalendar)
    );
  }
  get cls(): string {
    return 'PSDEChartCoordinateSystemCalendarImpl';
  }
  instanceof(cls: string): boolean {
    if (cls == S._e6) return true;
    return super.instanceof(cls);
  }
}
